<?php
/**
 * 系统配置
 * @param 
 * @return
 * @author luckyxiang
 * @package /sys_config/
 */

//全局宏
define( "MB_ROOT_DIR", str_replace("\\","/",dirname(realpath(dirname(__FILE__)))) );
define( "MB_CONF_DIR", MB_ROOT_DIR."/config" );
define( "MB_INSTALL_DIR", MB_ROOT_DIR."/install" );
define( "MB_APP_DIR", MB_ROOT_DIR."/application" );
define( "MB_VIEWS_DIR", MB_ROOT_DIR."/application/views" );
define( "MB_COMM_DIR", MB_ROOT_DIR."/application/common" );
define( "MB_CTRL_DIR", MB_ROOT_DIR."/application/controller" );
define( "MB_MODEL_DIR", MB_ROOT_DIR."/application/model" );
define( "MB_VIEW_DIR", MB_ROOT_DIR."/application/views" );
define( "MB_ADMIN_DIR", MB_ROOT_DIR."/admin" );

define( "MB_RETURN_FORMAT" , 'json' );
define( "MB_API_HOST" , 'open.t.qq.com' );

//配置数组
$mbConfig = array();
//系统日志路径
$mbConfig["log_path"] = str_replace('/', DIRECTORY_SEPARATOR, MB_ROOT_DIR."/../logs");
error_reporting(E_ALL ^ E_NOTICE);//禁用错误报告
//error_reporting(0);//禁用错误报告

//管理员（内置）access_token用于在未登录状态下抓取数据
//Admin oauth_token&oauth_token_secret
define("MB_ADMIN_OAUTH_TOKEN","7ca65aca084c4db29fcc0bfec4840184");
define("MB_ADMIN_OAUTH_TOKEN_SECRET","9701aee2902cf94e585ce5563953e108");
//Admin access_token(oauth_token&oauth_token_secret)_array
//array(array('mb_admin_oauth_token' => '********************************', 'mb_admin_oauth_token_secret' => '********************************'), ...)
$mbConfig["mb_admin_access_token"] = array(
	array(	'mb_admin_oauth_token' 			=> '7ca65aca084c4db29fcc0bfec4840184',
			'mb_admin_oauth_token_secret' 	=> '9701aee2902cf94e585ce5563953e108'
	),
	array(	'mb_admin_oauth_token' 			=> '8e9dc519856c442a869c4c563187d1b2',
			'mb_admin_oauth_token_secret' 	=> '3a98d40a570a931fd3a151e08e61764f'
	),
	array(	'mb_admin_oauth_token' 			=> 'b2f058f54aa348ba9a4ca841f8043228',
			'mb_admin_oauth_token_secret' 	=> 'e65eac22aa142d913fdd362585df8e9e'
	),
	array(	'mb_admin_oauth_token' 			=> '353e11967e2b4394b64c49bd51a9f334',
			'mb_admin_oauth_token_secret' 	=> '81123e918c96fd59b283cba17e0dc489'
	),
	array(	'mb_admin_oauth_token' 			=> '7150f952a3cd46a6bd72f778c24c7583',
			'mb_admin_oauth_token_secret' 	=> 'ff929fe699f5d6065667da2438c48902'
	),
	array(	'mb_admin_oauth_token' 			=> '9003a21aa3a5452d916547482695d43f',
			'mb_admin_oauth_token_secret' 	=> 'cf9ac0932f2aceaf76b9ef4a56abf5bb'
	),
	array(	'mb_admin_oauth_token' 			=> '32aa94987ca047278bee0aab95bc5281',
			'mb_admin_oauth_token_secret' 	=> '974e870eed649dc3ae2b62bda24bd825'
	),
	array(	'mb_admin_oauth_token' 			=> '01723eada59e4801874f7ff9204b987b',
			'mb_admin_oauth_token_secret' 	=> '303ee02c85ebdd72c8693b9db95a6b9a'
	),
	array(	'mb_admin_oauth_token' 			=> '60f8fddba2df48da99ec7a95ca3270ec',
			'mb_admin_oauth_token_secret' 	=> 'd16ee986ca4609b6bf3e4d7ea18559d2'
	),
	array(	'mb_admin_oauth_token' 			=> '2a2e4a94cd044d9e8a0e15ca9f406bee',
			'mb_admin_oauth_token_secret' 	=> 'a90a1376c24dfddd73c9216f2ce7a967'
	)
);
?>
